package com.enjoyor.soa.traffic.server.efoms.dubbo.impl;

import org.springframework.beans.factory.annotation.Autowired;

import com.alibaba.dubbo.config.annotation.Service;
import com.enjoyor.soa.traffic.api.service.dubbo.efoms.IDubboDateMonitorService;
import com.enjoyor.soa.traffic.server.efoms.dubbo.manage.ManageDateMonitorService;
import com.enjoyor.soa.traffic.util.pojo.ResultPojo;

@SuppressWarnings("rawtypes")
@Service(version = "1.0.0", timeout = 4000)
public class DubboDateMonitorService implements IDubboDateMonitorService{

	@Autowired
	private ManageDateMonitorService manageDateMonitorService;
	@Override
	public ResultPojo getDateMonitorChar(String typeCode, String devId) {
		// TODO Auto-generated method stub
		ResultPojo resultPojo = new ResultPojo();
		resultPojo = this.manageDateMonitorService.getDateMonitorChar(typeCode, devId);
		return resultPojo;
	}

	@Override
	public ResultPojo getDateMonitorReal(String typeCode, String devId) {
		// TODO Auto-generated method stub
		ResultPojo resultPojo = new ResultPojo();
		resultPojo = this.manageDateMonitorService.getDateMonitorReal(typeCode, devId);
		return resultPojo;
	}

}
